<template>
	<view class="about-detail">
		<u-parse :content="aboutUs"></u-parse>
	</view>
</template>

<script>
	import uParse from '@/components/un-parse/u-parse.vue'
	import endingColor from '../../../common/endingColor.vue'
	export default{
		components:{endingColor,uParse},
		data() {
			return {
				aboutUs: ''
			}
		},
		onLoad() {
			this.getSetInfo()
		},
		methods: {
			// 获取设置信息
			getSetInfo() {
				this.$api.get_set_info({}).then(res => {
					if(res.status) {
						this.aboutUs = res.data.aboutUs
					}else {
						uni.showToast({
							title: res.msg,
							icon: 'none',
							duration: 2000
						})
					}
					console.log('获取设置信息',res)
				}).catch(err => {
					console.log('获取设置信息',err)
				})
			}
		}
	}
</script>

<style>
	.about-detail {
		padding: 20upx 0;
		background: #fff;
	}
</style>
